<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<html>
<head>
    <title>活动详情</title>
</head>
<body>
<div class="content">
        <div class="form-group">
            <h3 class="item-title">基础信息</h3>

            <div class="form-item">
                <label for="">活动标题:${activity.name}</label>
            </div>
            <div class="form-item">
                <label for="">活动简介</label>
                ${activity.demo}
            </div>
        </div>
        <div class="form-group">
            <h3 class="item-title">活动时间</h3>

            <div class="form-item">
                <label for="">开始时间:${activity.startTime}</label>
            </div>
            <div class="form-item">
                <label for="">结束时间:${activity.endTime}</label>
            </div>

            <div class="form-item">
                <label class="item-title">活动地点:${activity.address}</label>
            </div>

            <div class="form-item">
                <label class="item-title">现场负责人:${activity.monitor.realName} ${activity.monitor.mobile}</label>
            </div>
            <div class="form-item">
            </div>
            <label class="item-title">限制人数:${activity.needs}</label>

            <div class="form-item">
                <label class="item-title">活动标签:${activity.tags}</label>
            </div>
            <div class="form-item">
                <label class="item-title">签到偏差半径: ${activity.scope} 米</label>
            </div>
        </div>

        <div>
            <button class="btn" onclick="history.go(-1);">返回</button>
            <a href="${ctx}/activityapply?activityCode=${activity.activityCode}"><button class="btn">报名记录</button></a>
            <!--
            <a href="${ctx}/activityapply/waiteVerifer?activityCode=${activity.activityCode}"><button class="btn">报名待审核</button></a>
            -->
            <a href="${ctx}/activitysign?activityCode=${activity.activityCode}"><button class="btn">签到记录</button></a>
        </div>
</div>

</body>
</html>